(function() {
    var getScriptArgs = function() {
        var scripts = document.getElementsByTagName("script");
        var script = scripts[scripts.length - 1],
            src = script.src,
            reg = /(?:\?|&)(.*?)=(.*?)(?=&|$)/g,
            temp, res = {};
        while ((temp = reg.exec(src)) != null) res[temp[1]] = decodeURIComponent(temp[2]);
        return res;
    };
    var args = getScriptArgs();
    var linkLiArr = [],
        num = args.num;
    if (!num || num <= 0) {
        num = "5";
    }
    var linkLi = '<li class="num1"><a title="宿州市经济和信息化委员会"  href="javascript:void(0)" style="cursor: default;"  tabindex="-1"> <img src="/mongo/5b0cee60b760f34c5e685d74.jpg"  width="1200"   height="180"  border="0" alt="宿州市经济和信息化委员会">    <span class="img_title img-title">宿州市经济和信息化委员会</span> </a> </li>';
    linkLiArr.push(linkLi);
    var linkLi = '<li class="num2"><a title="宿州市经济和信息化委员会"  href="javascript:void(0)" style="cursor: default;"  tabindex="-1"> <img src="/mongo/5b0cee57b760f34c5e685d72.jpg"  width="1200"   height="180"  border="0" alt="宿州市经济和信息化委员会">    <span class="img_title img-title">宿州市经济和信息化委员会</span> </a> </li>';
    linkLiArr.push(linkLi);
    var linkLi = '<li class="num3"><a title="宿州市经济和信息化委员会"  href="javascript:void(0)" style="cursor: default;"  tabindex="-1"> <img src="/mongo/5b0cee4eb760f34c5e685d70.jpg"  width="1200"   height="180"  border="0" alt="宿州市经济和信息化委员会">    <span class="img_title img-title">宿州市经济和信息化委员会</span> </a> </li>';
    linkLiArr.push(linkLi);
    var printContent = function() {
        var length = linkLiArr.length;
        if (num > length) {
            num = length;
        }
        if (linkLiArr.length > 0) {
            for (var i = 0; i < num; i++) {
                document.write(linkLiArr[i]);
            }
        }
    }();
})()